﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Huirui.Cavan.Domain.MainBoundedContext.PurchaseModule;
using Huirui.Cavan.Domain.MainBoundedContext.SearchModule;
using Huirui.Cavan.Presentation.Seedwork;

namespace Huirui.Cavan.Presentation.ViewModel.PurchaseModule
{
    public class UnPayViewModel : EntityModel<UnPay, long, UnPaySearch>, IUnPayViewModel
    {
        public int Type { get; set; }
    }

    public class UnPayJson : BaseJson<long>
    {
        public bool IsSelected { get; set; }
        public decimal Amount { get; set; }
        public string CertificateDate { get; set; }
        public string UnPayType { get; set; }
        public string CreateDate { get; set; }
        public string UnPayCode { get; set; }
        public string Currency { get; set; }
        public decimal CurrencyRate { get; set; }
        public decimal Cost { get; set; }
        public decimal LeftAmount { get; set; }
        public string SupplierName { get; set; }
        public string SupplierCode { get; set; }
        public decimal PaidAmount { get; set; }
    }

    public class UnPayJsonViewModel : JsonViewModel<UnPayJson>
    {
    }
}
